﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class FasonIslemAtelyeleri : XForm
    {
        public FasonIslemAtelyeleri()
        {
            InitializeComponent();
        }

        private void FasonIslemAtelyeleri_Load(object sender, EventArgs e)
        {
            gridView1.Init("GetFasonIslem");
            gridView1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
            gridView1.BestFitColumns();
            gridView1.AddSummary();

            btnKaydet.ItemClick += btnKaydet_ItemClick;
        }

        void btnKaydet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            gridView1.EndEditing();
            gridView1.Update();
        }
    }
}
